﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace furion.blog.Domain.MySQL
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("menu")]
    public class Menu
    {
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="menu_id" ,IsPrimaryKey = true   )]
         public long MenuId { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="menu_name"    )]
         public string MenuName { get; set; }
        /// <summary>
        /// 菜单类型：DIR,MENU,BUTTON 
        ///</summary>
         [SugarColumn(ColumnName="menu_type"    )]
         public string MenuType { get; set; }
        /// <summary>
        /// 跳转，用于DIR 
        ///</summary>
         [SugarColumn(ColumnName="redirect"    )]
         public string Redirect { get; set; }
        /// <summary>
        /// 页面标题(针对：MENU) 
        ///</summary>
         [SugarColumn(ColumnName="page_title"    )]
         public string PageTitle { get; set; }
        /// <summary>
        /// view地址 
        ///</summary>
         [SugarColumn(ColumnName="component"    )]
         public string Component { get; set; }
        /// <summary>
        /// 标识 
        ///</summary>
         [SugarColumn(ColumnName="menu_key"    )]
         public string MenuKey { get; set; }
        /// <summary>
        /// 图标 
        ///</summary>
         [SugarColumn(ColumnName="icon"    )]
         public string Icon { get; set; }
        /// <summary>
        /// 父id 
        ///</summary>
         [SugarColumn(ColumnName="pid"    )]
         public long? Pid { get; set; }
        /// <summary>
        /// 是否隐藏 YES NO 
        ///</summary>
         [SugarColumn(ColumnName="hidden"    )]
         public string Hidden { get; set; }
        /// <summary>
        /// 是否缓存 YES NO 
        ///</summary>
         [SugarColumn(ColumnName="keep_alive"    )]
         public string KeepAlive { get; set; }
        /// <summary>
        /// 请求路径 
        ///</summary>
         [SugarColumn(ColumnName="path"    )]
         public string Path { get; set; }
    }
}
